package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author durui123
 * @since 2018-04-03
 */
public class Route extends Model<Route> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("route_id")
    private String routeId;
    @TableField("route_start")
    private String routeStart;
    @TableField("route_end")
    private String routeEnd;
    @TableField("route_transfer_station")
    private String routeTransferStation;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRouteId() {
        return routeId;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public String getRouteStart() {
        return routeStart;
    }

    public void setRouteStart(String routeStart) {
        this.routeStart = routeStart;
    }

    public String getRouteEnd() {
        return routeEnd;
    }

    public void setRouteEnd(String routeEnd) {
        this.routeEnd = routeEnd;
    }

    public String getRouteTransferStation() {
        return routeTransferStation;
    }

    public void setRouteTransferStation(String routeTransferStation) {
        this.routeTransferStation = routeTransferStation;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Route{" +
        "id=" + id +
        ", routeId=" + routeId +
        ", routeStart=" + routeStart +
        ", routeEnd=" + routeEnd +
        ", routeTransferStation=" + routeTransferStation +
        "}";
    }
}
